package com.hospital.demo.mapper.jiashuai;


import com.hospital.demo.model.jiashuai.TWorker;


import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ITWorkerDao {
 List<TWorker>selectTWorker();
 List<TWorker>selectTWorkerByDid(@Param("did") int did);
 List<TWorker>selectTWorkerByid(@Param("id") int id);
 int insert(TWorker tWorker);
 int updateState(@Param("id") int id);
}
